From: Miles Bader Date: Sun, 26 May 2002 07:22:22 +0000 (+0000) Subject: (tty_capable_p): New function. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~56965 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=a08166614a8cdd21b14f42c3b2f797d746b9462f;p=emacs.git (tty_capable_p): New function. (TTY_CAP_INVERSE, TTY_CAP_UNDERLINE, TTY_CAP_BOLD, TTY_CAP_DIM) (TTY_CAP_BLINK, TTY_CAP_ALT_CHARSET): New macros. --- diff --git a/src/dispextern.h b/src/dispextern.h index e921e976238..b27ad5f8a09 100644 --- a/src/dispextern.h +++ b/src/dispextern.h @@ -2201,7 +2201,19 @@ extern EMACS_INT tool_bar_button_relief; /*********************************************************************** - Function Prototypes + Terminal Capabilities + ***********************************************************************/ + +#define TTY_CAP_INVERSE 0x01 +#define TTY_CAP_UNDERLINE 0x02 +#define TTY_CAP_BOLD 0x04 +#define TTY_CAP_DIM 0x08 +#define TTY_CAP_BLINK 0x10 +#define TTY_CAP_ALT_CHARSET 0x20 + + +/*********************************************************************** + Function Prototypes ***********************************************************************/ /* Defined in xdisp.c */ @@ -2443,6 +2455,7 @@ extern void tty_setup_colors P_ ((int)); extern void term_init P_ ((char *)); extern void fatal P_ ((/* char *, ... */)); void cursor_to P_ ((int, int)); +extern int tty_capable_p P_ ((struct frame *, unsigned, unsigned long, unsigned long)); /* Defined in scroll.c */